﻿namespace OboutInc.ImageZoom
{
    using System;

    public class PageChangedEventArgs : EventArgs
    {
        private readonly Enum _invoker;
        private readonly int _newpage;

        public PageChangedEventArgs(int newpage)
        {
            this._newpage = newpage;
        }

        public PageChangedEventArgs(int newpage, Enum invoker)
        {
            this._newpage = newpage;
            this._invoker = invoker;
        }

        public Enum EventInvoker
        {
            get
            {
                return this._invoker;
            }
        }

        public int NewPage
        {
            get
            {
                return this._newpage;
            }
        }
    }
}

